package com.ukao.pad.bean;

import android.graphics.Bitmap;

import com.ukao.pad.utils.CheckUtils;

import java.util.List;

/**
 * Created by ukaodev on 2017/10/11.
 */

public class PrintAloneBean  extends  BaseBean<PrintAloneBean>{



        /**
         * productList : [{"createTime":1503394098000,"id":24,"orderProId":334,"serviceName":"清洗","productName":"修衣领","scanCode":"662719393499","colorDesc":null},{"createTime":1503394094000,"id":23,"orderProId":333,"serviceName":"鞋子清洗","productName":"修鞋底","scanCode":"050949804364","colorDesc":null},{"createTime":1503394056000,"id":22,"orderProId":332,"serviceName":"清洗","productName":"修衣领","scanCode":"659332899124","colorDesc":"[{\"id\": \"17\", \"name\": \"蓝紫色\"}, {\"id\": \"2\", \"name\": \"微软雅黑黑黑\"}, {\"id\": \"13\", \"name\": \"微软雅黑\"}]"},{"createTime":1503390132000,"id":21,"orderProId":330,"serviceName":"鞋子清洗","productName":"修鞋底","scanCode":"304726114486","colorDesc":null},{"createTime":1503390130000,"id":20,"orderProId":328,"serviceName":"鞋子清洗","productName":"修鞋底","scanCode":"600979249985","colorDesc":null},{"createTime":1503390128000,"id":19,"orderProId":326,"serviceName":"鞋子清洗","productName":"修鞋底","scanCode":"610165190977","colorDesc":null},{"createTime":1503390125000,"id":18,"orderProId":324,"serviceName":"鞋子清洗","productName":"修鞋底","scanCode":"004316468114","colorDesc":null},{"createTime":1501493554000,"id":17,"orderProId":110,"serviceName":"清洗","productName":"帽子","scanCode":"423153602437","colorDesc":"[{\"id\": \"2\", \"name\": \"微软雅黑黑黑\"}, {\"id\": \"15\", \"name\": \"复方汞\"}]"},{"createTime":1501493553000,"id":16,"orderProId":109,"serviceName":"清洗","productName":"修衣领","scanCode":"104816230291","colorDesc":null},{"createTime":1501120311000,"id":15,"orderProId":108,"serviceName":"染烫","productName":"修衣领","scanCode":"353946865617","colorDesc":null}]
         * batch : {"code":"90425492","productCnt":"9","storeName":"友靠麓云店","factoryName":"观象二路","createTime":null,"annexCnt":"1"}
         */

        private BatchBean batch;
        private List<ProductListBean> productList;

        public BatchBean getBatch() {
            return batch;
        }

        public void setBatch(BatchBean batch) {
            this.batch = batch;
        }

        private Bitmap bitmap;


    public Bitmap getBitmap() {
        return bitmap;
    }

    public void setBitmap(Bitmap bitmap) {
        this.bitmap = bitmap;
    }

    public List<ProductListBean> getProductList() {
            return productList;
        }

        public void setProductList(List<ProductListBean> productList) {
            this.productList = productList;
        }

        public static class BatchBean {
            /**
             * code : 90425429
             * productCnt : 9
             * storeName : 友靠麓云店
             * factoryName : 观象二路
             * createTime : null
             * annexCnt : 1
             */

            private String code;
            private Integer productCnt;
            private String storeName;
            private String factoryName;
            private Object createTime;
            private Integer annexCnt;

            public String getCode() {
                return code;
            }

            public void setCode(String code) {
                this.code = code;
            }

            public Integer getProductCnt() {
                return productCnt;
            }

            public void setProductCnt(Integer productCnt) {
                this.productCnt = productCnt;
            }

            public String getStoreName() {
                return CheckUtils.isEmptyString(storeName);
            }

            public void setStoreName(String storeName) {
                this.storeName = storeName;
            }

            public String getFactoryName() {
                return CheckUtils.isEmptyString(factoryName);
            }

            public void setFactoryName(String factoryName) {
                this.factoryName = factoryName;
            }

            public Object getCreateTime() {
                return createTime;
            }

            public void setCreateTime(Object createTime) {
                this.createTime = createTime;
            }

            public Integer getAnnexCnt() {
                return annexCnt;
            }

            public void setAnnexCnt(Integer annexCnt) {
                this.annexCnt = annexCnt;
            }
        }

        public static class ProductListBean {
            /**
             * createTime : 1503394098000
             * id : 24
             * orderProId : 334
             * serviceName : 清洗
             * productName : 修衣领
             * scanCode : 662719393499
             * colorDesc : null
             */

            private long createTime;
            private int id;
            private int orderProId;
            private String serviceName;
            private String productName;
            private String scanCode;
            private Object colorDesc;

            public long getCreateTime() {
                return createTime;
            }

            public void setCreateTime(long createTime) {
                this.createTime = createTime;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getOrderProId() {
                return orderProId;
            }

            public void setOrderProId(int orderProId) {
                this.orderProId = orderProId;
            }

            public String getServiceName() {
                return serviceName;
            }

            public void setServiceName(String serviceName) {
                this.serviceName = serviceName;
            }

            public String getProductName() {
                return productName;
            }

            public void setProductName(String productName) {
                this.productName = productName;
            }

            public String getScanCode() {
                return scanCode;
            }

            public void setScanCode(String scanCode) {
                this.scanCode = scanCode;
            }

            public Object getColorDesc() {
                return colorDesc;
            }

            public void setColorDesc(Object colorDesc) {
                this.colorDesc = colorDesc;
            }
        }

}
